﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DangNhap.aspx.cs"
    Inherits="WebRaoVat.DangNhap" Title="Đăng nhập" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div id="box-pro-highlights">
        <div class="box-pro-highlights-header">
            <a href="###" target="_blank" class="no-hover">Đăng nhập</a>
        </div>
        <div class="content">
            <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
            </asp:ToolkitScriptManager>
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                    <table border="0" style="width: 100%;"
                        align="center">                       
                        <tr>
                            <td colspan="4">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4" align="center">
                                <asp:Label ID="lbMessage" runat="server" ForeColor="Red"></asp:Label>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="width: 40%; color: #0000CC;">
                                Tên đăng nhập
                            </td>
                            <td style="width: 2%">
                                &nbsp;
                            </td>
                            <td style="width: 40%">
                                <asp:TextBox ID="txtUsername" runat="server" BorderStyle="Solid" Width="265px"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td align="right" style="color: #0000CC;">
                                Mật khẩu
                            </td>
                            <td style="color: Red" align="right">
                                &nbsp;
                            </td>
                            <td>
                                <asp:TextBox ID="txtPassword" runat="server" BorderStyle="Solid" Width="265px" TextMode="Password"></asp:TextBox>
                            </td>
                            <td>
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                &nbsp;
                            </td>
                            <td colspan="2" align="left">
                                <asp:CheckBox ID="cbNhoMatKhau" runat="server" Text="Ghi nhớ mật khẩu" ForeColor="Gray" />
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                &nbsp;
                            </td>
                            <td colspan="2" align="left">
                                <a href="QuenMatKhau.aspx" style="color: Red;">Quên mật khẩu ?</a>
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="4">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                &nbsp;
                            </td>
                            <td colspan="2" align="left">
                                <asp:Button ID="btnDanhNhap" runat="server" Text="Đăng nhập" OnClick="btnDanhNhap_Click" />
                            </td>
                        </tr>
                        <tr>
                            <td align="center" colspan="4">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td colspan="2">
                                &nbsp;
                            </td>
                            <td colspan="2" align="left" style="color: Gray">
                                Bạn chưa có tài khoản ? <a href="DangKy.aspx" style="color: Red;">Đăng ký</a>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </ContentTemplate>
            </asp:UpdatePanel>
        </div>
    </div>
</asp:Content>
